import Vue from 'vue'
import App from './App.vue'
import router from './router/index.js'


//按需引入组件
import { List,Grid, GridItem,Icon,} from 'vant';

Vue.use(List);
// 宫格
Vue.use(Grid);
Vue.use(GridItem);
// 图标
Vue.use(Icon);

//全局引入组件
/* import Search from "./components/Search.vue"
import Banner from "./components/Banner.vue";
import StoreList from "./components/StoreList.vue"
import Tabbar from "./components/Tabbar.vue" */

Vue.config.productionTip = false

/* Vue.component('Search',Search)
Vue.component('Banner',Banner)
Vue.component('StoreList',StoreList)
Vue.component('Tabbar',Tabbar) */

new Vue({
  router,
  render: h => h(App),
}).$mount('#app')
